﻿@{
    ViewBag.Title = "修改系统功能";
    Layout = "~/Views/Shared/_JuiLayout.cshtml";
    
    Dictionary<string, object> dic_M = Model;
    
}
@section header {}
<div id="layout" class="noNavTab">
    <div id="navTab">
        <h2 class="contentTitle">
            修改功能菜单组</h2>
        <div class="pageContent">
            @{  
                int id = Utils.StrToInt(ViewData["id"], 0);
                string rturl = "/SysMenu/List?menu=MenuConfig&name=list&pid=" + dic_M["ParentId"];
                using (Html.BeginForm("Edit", "OperateTotal", new { id = id, dtnum = (int)Database.Default, name = DencryptHelper.Encrypt("Sys_IBKMmenuTree"), url = rturl }, FormMethod.Post, new { @id = "subForm", @class = "pageForm required-validate", onsubmit = "return validateCallback(this,navTabAjaxDone)" }))
                {   
                
                <div class="pageFormContent nowrap">

                    <dl>
                        <dt>编码：</dt>
                        <dd>
                            @Html.TextBox("t0_No", dic_M["No"], new { @class = " textInput" })
                        </dd>
                    </dl>
                    <dl>
                        <dt>名称：</dt>
                        <dd>
                            @Html.TextBox("t0_Name", dic_M["Name"], new { @class = "required textInput" })
                        </dd>
                    </dl>
                    <dl>
                        <dt>描述：</dt>
                        <dd>
                            @Html.TextArea("t0_Description", dic_M["Description"].ToString(), new { @class = " textInput", rows = "5", cols = "80", maxlength = "100" })
                        </dd>
                    </dl>
                    <dl>
                        <dt>默认URL：</dt>
                        <dd>
                            @Html.TextBox("t0_DefaultUrl", dic_M["DefaultUrl"], new { @class = " textInput" })
                        </dd>
                    </dl>
                    <dl>
                        <dt>序号：</dt>
                        <dd>
                            @Html.TextBox("t0_SortOrder", dic_M["SortOrder"], new { @class = "digits required textInput" })
                        </dd>
                    </dl>
                    <dl>
                        <dt>&nbsp</dt>
                        <dd>
                            <div class="buttonActive">
                                <div class="buttonContent">
                                    <button type="submit">
                                        修改</button></div>
                            </div>
                        </dd>
                        <dd>
                            <a class="button" href='@rturl'><span>返回</span></a></dd>
                    </dl>
                </div>
                    
                }
            }
        </div>
    </div>
</div>

<link href="/content/jui-normal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/Scripts/pager.js"></script>
<script type="text/javascript">
    $(function () {
             
    });
</script>
